Update<TX,TY>(IHlcDataSeries<TX,TY>,TX,TY,TY,TY) Method
Updates an Open, High, Low, Close point specified by the X-Value passed in.
Syntax
[Extension()] public static void Update<TX,TY>( IHlcDataSeries<TX,TY> dataSeries, TX x, TY y, TY high, TY low ) where TX: IComparable where TY: IComparable
Parameters
- dataSeries
- The series to update.
- x
- The X Value to key on when updating.
- y
- The new Y value.
- high
- The new High value.
- low
- The new Low value.
Type Parameters
- TX
- TY
Exceptions
Exception | Description |
---|---|
System.InvalidOperationException | Thrown if the x value is not in the DataSeries. |
Remarks
If the exact match of x is not found in the dataSeries, the update is ignored.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also